<script>
function saveResult(name, value) {
	if ( testdriver && "function" === typeof(testdriver.saveResult) ) {
		testdriver.saveResult(name, value);
	}
}

function testOnload() {
	if ( testdriver && "function" === typeof(testdriver.doNextTest) ) {
		// For now, we'll use saveResult as the means for triggering the next page.
		//testdriver.doNextTest();
	}
}

function testOnerror() {
	if ( testdriver && "function" === typeof(testdriver.doNextTest) ) {
		// CVSNO - do something better for error handling? save a null result?
		testdriver.doNextTest();
	}
}
</script>

<frameset rows="200,*" border=2>
  <frame src="testdriver{% if continue %}?continue={{ continue }}{% endif %}" id=testdriver name=testdriver></frame>
  <frame src="about:blank" id=testframe name=testframe onload="testOnload()" onerror="testOnerror()"></frame>
</frameset>
